Duck Futures: A Generative Approach to Transparent Futures
نویسندگان
چکیده
Futures offer a convenient abstraction for encapsulating delayed computation. It is a mechanism to introduce concurrency through a rewrite of the sequential program. However, managing futures is tedious and requires knowledge of concurrency and its concerns. The notion of transparent futures is used to hide the complexity of futures from developers. A number of techniques based on transparency have been proposed to create and manage futures. Previous techniques make use of reflection. In this paper, we propose duck futures that use a generative approach. We show that duck futures are much more efficient compared to previous notions of transparent futures. We also present the first large scale study of the applicability and utility of duck futures in practice using the Boa infrastructure for mining large scale open source repositories. Our study finds that transparent futures, despite their limitations, can be very useful in practice.
منابع مشابه
The Relationship Between Non-Transparent Financial Reporting and Risk Stock Futures Fall Due to the Size and Performance
The purpose of this study was to investigate the relationship between stock futures fall risk with non-transparent financial reporting at three levels of size, efficiency and return on equity, in the period 2010 to 2014 was in Tehran Stock Exchange. The population of the study are all companies listed in Tehran Stock Exchange. Data collected and calculated by using Excel software Eviews 7 been ...
متن کاملTransparent First-class Futures and Distributed Components
Futures are special kind of values that allow the synchronisation of different processes. Futures are in fact identifiers for promised results of function calls that are still awaited. When the result is necessary for the computation, the process is blocked until the result is returned. We are interested in this paper in transparent first-class futures, and their use within distributed componen...
متن کاملFutures Studies Approaches in Medical Education: A BEME Systematic Review: BEME Guide No. 52.
Background: Over 50 years after the introduction of futures studies, the number of such studies in medical education is very limited. Familiarization with futures studies can have a positive effect on the application of these studies in medical education. The study was performed to Review and synthesize the best existing evidence in the literature that addresses the question, "...
متن کاملPricing of Futures Contracts by Considering Stochastic Exponential Jump Domain of Spot Price
Derivatives are alternative financial instruments which extend traders opportunities to achieve some financial goals. They are risk management instruments that are related to a data in the future, and also they react to uncertain prices. Study on pricing futures can provide useful tools to understand the stochastic behavior of prices to manage the risk of price volatility. Thus, this study eval...
متن کاملLearning to Make Predictions In Partially Observable Environments Without a Generative Model
When faced with the problem of learning a model of a high-dimensional environment, a common approach is to limit the model to make only a restricted set of predictions, thereby simplifying the learning problem. These partial models may be directly useful for making decisions or may be combined together to form a more complete, structured model. However, in partially observable (non-Markov) envi...
متن کامل